package com.sora.order.service;

import com.sora.basic.util.PageList;
import com.sora.order.domain.OrderPetAcquisition;
import com.sora.basic.service.IBaseService;
import com.sora.order.dto.OrderDto;
import com.sora.order.query.OrderPetAcquisitionQuery;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Àgä±
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {
    PageList<OrderPetAcquisition> pageQuery(OrderPetAcquisitionQuery query, HttpServletRequest request);

    void cancel(Long id);

    void confirm(OrderDto orderDto);
}
